package com.xyh.service.impl;

import com.xyh.staticproxy.UserDao;
import com.xyh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author:kyle
 * @Date:2020/12/10 - 16:43
 * @Project:spring_demo1
 * @Package:com.xyh.service.impl
 * @Version:1.0
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    public void list() {
        System.out.println("UserService中的list方法");
        userDao.list();
    }
}
